#ifndef PROPERTIES_H
#define PROPERTIES_H
#include "common.h"
#include <map>

class Properties {
  private:
    Common &common;
    Properties(void);
    Properties(Properties const &);
    void operator=(Properties const &);
    std::map<WString, std::list<WString>> map;
    bool expandPath(WString &value);
    void load();

  public:
    static Properties &getInstance();
    ~Properties(void);
    std::list<WString> getJavaHome();
    std::list<WString> getVmOptions();
    WString getClassPath();
    WString getMainClass();
    std::list<WString> getMainArgs();
};

#endif